<%@page import="com.xhd.Dao.SalerDaoImpl"%>
<%@page import="com.xhd.Dao.SalerDao"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<% 
	String fruit_name = request.getParameter("name");
	SalerDao sd=new SalerDaoImpl();
	sd.changeFruitState("salefail", fruit_name);
	response.sendRedirect("FreezeFruit.jsp");
%>
</body>
</html>